# coding=utf-8
"""and-or"""

print "1 and 'first' or 'second'    :", 1 and 'first' or 'second'
print "0 and 'first' or 'second'    :", 0 and 'first' or 'second'

print "1 and '' or 'second'         :", 1 and '' or 'second' 
print "0 and 'first' or 'second'    :", 0 and 'first' or 'second' 

print "1 and [''] or ['second']     :", 1 and [''] or ['second'] 
print "0 and ['first'] or ['']      :", 0 and ['first'] or [''] 